<?php
/**
*
*
*/
abstract class Yz_Application_Console
    extends Yz_Application_Abstract
{


    /** Main entry method
     *      Add output buffering
     *  @return int
     */
    public static function main($args=null)
    {
        static::init();
        if (is_callable($args))
            return call_user_func($args);
        return 1;
    }


} // class


